import {Component} from 'react';
import { NavLink } from 'react-router-dom';
import RouterView from './router';
class App extends Component{
    render(){
        return(
            <div>
                <NavLink to='/'>首页</NavLink> |
                <NavLink to='/mine'>我的</NavLink>
                <RouterView></RouterView>
            </div>
        )
    }
}
export default App;